package com.deep.seckill.feign;

import com.deep.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 优惠系统远程调用
 *
 * @author Deep
 * @date 2022/2/21
 */
@FeignClient("mall-coupon")
public interface CouponFeignService {
    /**
     * 查询最近三天需要参加秒杀商品的信息
     */
    @GetMapping(value = "/coupon/seckillsession/latest3DaysSession")
    R getLatest3DaysSession();
}
